@import '@/constants';
@import '@/styles/scroll-bar';

.header {
  align-items: center;
  background-color: #fff;
  box-shadow: 0 2px 2px 0 rgba(220, 224, 255, 0.4);
  display: flex;
  height: 44px;
  padding: 10px 24px;
  width: 100vw;

  .tab {
    height: 100%;
    margin-left: 8px;
    position: relative;

    .bottom-line {
      background-color: #6973ff;
      bottom: -10px;
      height: 2px;
      position: absolute;
      width: 125px;
    }
  }

  .divider {
    background-color: #b6b9c5;
    height: 24px;
    margin-left: 22px;
    width: 1px;
  }

  .m-span {
    font-size: 14px;
    margin-left: 37px;
  }

  .icon {
    color: #6973ff;
    font-size: 24px;
  }

  span {
    font-size: 16px;
    margin-left: 6px;
  }
}

.trainning-view {
  animation: scaleUp 0.25s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  height: calc(100vh - @HEADER_HEIGHT - @MODEL_TITLE_HEIGHT);
  position: relative;
  width: 100vw;

  .main-content {
    background-color: #fff;
    padding: 24px;

    .btns {
      display: flex;
      margin-bottom: 24px;

      .search-form {
        margin-left: 50px;
      }

      .primary-btn {
        background: #6973ff;
        border-radius: 4px;
        color: #fff;
        cursor: pointer;
        display: flex;
        font-size: 14px;
        height: 32px;
        justify-content: center;
        line-height: 30px;
        width: 80px;
      }

      .tabs {
        margin-bottom: 8px;
        margin-left: 48px;
      }
    }
  }
}

.model-trainning {
  background-color: #fafafa;
  height: calc(100vh - @HEADER_HEIGHT - @MODEL_TITLE_HEIGHT);
  overflow-x: hidden;
  padding: 16px 24px;
  position: relative;
  // width: calc(100%-32px) !important;
  width: 100%;
  // z-index: 999;
  
    .bg {
      animation: scaleUp 0.25s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
      background: #fff;
      height: 100%;

      .navg-btns {
        align-items: center;
        display: flex;

        .bread {
          background-color: #fff;
          margin-bottom: 1px;
          padding: 16px 0 16px 2px;
        }

        .return-btn {
          align-items: center;
          color: #6973ff;
          cursor: pointer;
          display: flex;
          padding: 16px 8px 16px 24px;
        }
      }
  }
}

.model-report {
  background-color: #fafafa;
  height: calc(100vh - @HEADER_HEIGHT - @MODEL_TITLE_HEIGHT);
  overflow-x: hidden;
  padding: 16px 24px;
  position: relative;
  width: 100%;
  z-index: 999;

  .bg {
    background: #fff;
    min-height: 100%;

    .navg-btns {
      align-items: center;
      display: flex;

      .export-btn {
        position: absolute;
        right: 60px;
      }

      .bread {
        background-color: #fff;
        margin-bottom: 1px;
        padding: 16px 0 16px 2px;
      }

      .return-btn {
        align-items: center;
        color: #6973ff;
        cursor: pointer;
        display: flex;
        padding: 16px 8px 16px 24px;
      }
    }

    .content1 {
      padding: 24px;

      .title {
        font-size: 16px;
        margin-bottom: 20px;
      }

      .row {
        padding: 4px 0;
      }
    }

    .content2 {
      padding: 24px;

      .radio {
        margin-bottom: 24px;
      }
    }
  }
}

.data-source {
  background-color: #fafafa;
  height: calc(100% - @HEADER_HEIGHT - @MODEL_TITLE_HEIGHT);
  padding: 16px 24px;
  position: relative;
  width: 100vw;
  z-index: 999;

  .navg-btns {
    align-items: center;
    background: #fff;
    display: flex;

    .bread {
      background-color: #fff;
      margin-bottom: 1px;
      padding: 16px 0 16px 2px;
    }

    .return-btn {
      align-items: center;
      color: #6973ff;
      cursor: pointer;
      display: flex;
      padding: 16px 8px 16px 24px;
    }
  }

  .main-content {
    background-color: #fff;
    color: #373b52;
    height: calc(100vh - 157px - @MODEL_TITLE_HEIGHT);
    margin-top: 2px;
    padding: 24px;

    b {
      font-size: 16px;
      line-height: 40px;
    }

    .source-table {
      margin-top: 24px;
      max-height: calc(100% - 100px);
      overflow: auto;
    }
  }
}

.model-config {
  overflow-x: hidden;
  width: 100%;

  .bg {
    background: #fff;
    height: 100%;

    .navg-btns {
      align-items: center;
      display: flex;

      .bread {
        background-color: #fff;
        margin-bottom: 1px;
        padding: 16px 0 16px 2px;
      }

      .return-btn {
        align-items: center;
        color: #6973ff;
        cursor: pointer;
        display: flex;
        padding: 16px 8px 16px 24px;
      }
    }
  }
}

.saveData-modal {
  .m-span {
    cursor: pointer;
    margin-left: 8px;

    &:hover {
      color: #6973ff;
    }

    .icon {
      margin-right: 5px;
    }
  }

  .model-radius {
    border-radius: 4px;
    width: 190px;
  }

  .disabled {
    color: rgba(0, 0, 0, 0.2);
    cursor: not-allowed;

    &:hover {
      color: rgba(0, 0, 0, 0.2);
    }
  }

  .delete {
    cursor: pointer;
    margin-left: 10px;

    &:hover {
      color: #6973ff;
    }
  }
}


.diviver {
  background: #fafafa;
  height: 16px;
  width: 100%;
}

.m_checkbox {
  background-color: #fafafa;
  border-radius: 4px;
  padding-left: 12px;
  width: 100%;
}

.m_radiobox {
  background-color: #fafafa;
  border-radius: 4px;
  padding: 8px;
  width: 100%;
}

.m_title {
  align-items: center;
  display: flex;
  font-size: 16px;
  margin-bottom: 22px;
  position: relative;

  .divider {
    background-color: #6973ff;
    height: 18px;
    margin-right: 8px;
    width: 4px;
  }

  b {
    font-size: 16px;
  }

  .download-btn {
    bottom: 0;
    color: #6973ff;
    cursor: pointer;
    font-size: 14px;
    position: absolute;
    right: 10px;

    .icon {
      font-size: 16px;
      margin-right: 6px;
    }
  }
}

.text-ellipsis {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
  white-space: nowrap;
}

.divider2 {
  background-color: rgba(93, 99, 126, 0.45);
  height: 18px;
  margin-right: 8px;
  width: 1px;
}

.close {
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  line-height: 64px;
  position: fixed;
  right: 20px;
  top: -2px;
}

